package edu.depaul.se.courseregistration.jpa.schedule;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;

/**
 *
 * @author lmarco, gkhuram
 */
@NamedQuery(name = EnrolledClass.CLASS_QUERY_BY_PERSON_ID, query = "SELECT s from Schedule s WHERE s.personID = :" + EnrolledClass.PERSON_ID_PARAMETER_NAME) //Find personId

@Entity
public class EnrolledClass extends Schedule implements Serializable {
    
    public EnrolledClass(){}
    @Column(name = "GRADE")
    private String grade;
    
    
      public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
}
